package com.example.demo.entity;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

@Data
@Getter
@Setter
public class QuanxianVo {
    private String id;   //id
    private String rolename; //角色名
    private String details;  //描述
    private String checked;  //开关
    private Integer page;  //页数
    private Integer limit; //行数
    private Integer b;     //总数
    public QuanxianVo() {
        if (page == null)
            b= 0;
        else
            b= (page - 1) * limit;
    }
}
